-- GENERATED SPELL FOR [Vhel'kur] --


function spell0_21801(pUnit, Event) --@PetWait,Self--
pUnit:FullCastSpellOnTarget(36553,pUnit)
pUnit:RegisterEvent('Sorts_21801', 582, 1)
end

function Sorts_21801(pUnit, Event)
local choix_sorts_21801 = math.random(0, 0)
if choix_sorts_21801 == 0 then
pUnit:RegisterEvent('spell0_21801', 1, 1)
end
end

function mob21801_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21801', math.random(1500, 3000), 1)
end

function mob21801_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21801_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21801_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21801, 1, 'mob21801_Action')
RegisterUnitEvent(21801, 2, 'mob21801_Leave')
RegisterUnitEvent(21801, 3, 'mob21801_Kill')
RegisterUnitEvent(21801, 4, 'mob21801_Die')
